package org.votes.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;
import org.votes.bean.Details;

public interface DetailsService {
	
	public boolean add(Details detail);
	
	@Transactional
	public Details update(Details detail);
	
	public boolean delete(Details detail);
	
	public Details findById(int id);
	
	public List<Details> findAll();
}
